package org.dk.service.Impl;

import org.dk.mapper.TbContentCategoryMapper;
import org.dk.pojo.TbContentCategory;
import org.dk.service.TbContentCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@com.alibaba.dubbo.config.annotation.Service
public class TbContentCategoryServiceImpl implements TbContentCategoryService {
    @Autowired
    private TbContentCategoryMapper categoryMapper;

    @Override
    public List<TbContentCategory> selectByName(String name) {
       return categoryMapper.selectConCate(name);
    }
}
